<?php
namespace app\sw\model;

use think\Model;

class FileTemplateModel extends Model{
    protected $name = 'sw_file_template';
    protected $pk = 'id';


    public function sheetTemplate(){
        return $this->hasMany(SheetTemplateModel::class, 'file_template_id', 'id');
    }
}   